package cn.sangyy.auth.mapper;

import cn.sangyy.auth.domain.Permiss;
import cn.sangyy.auth.query.PerQuery;

import java.util.List;

/**
 * @author SangYY
 * @date: 2023/05/16/23:31
 */
public interface PermissMapper {

    void insert(Permiss permiss);

    void deleteAll();

    long getTotal(PerQuery perQuery);

    List<Permiss> getPageData(PerQuery perQuery);

    List<Permiss> tree();
}
